package com.yonyou.brigade.order_center.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-07-12
 */
@TableName("bri_train_passenger")
public class BriTrainPassenger extends Model<BriTrainPassenger> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 订单号
     */
    @TableField("order_no")
    private String orderNo;
    /**
     * 乘车人姓名
     */
    @TableField("psg_name")
    private String psgName;
    /**
     * 乘车人员工编号
     */
    @TableField("oa_user_code")
    private String OAUserCode;

//    @TableField("user_id")
//    private String userId;
    /**
     * 0 成人票 1 儿童票
     */
    @TableField("ticket_type")
    private Integer ticketType;
    /**
     * 证件类型
     */
    @TableField("card_type")
    private String cardType;
    /**
     * 证件号
     */
    @TableField("card_no")
    private String cardNo;
    /**
     * 成本中心1
     */
    @TableField("cost_center")
    private String costCenter;
    /**
     * 成本中心2
     */
    @TableField("cost_center2")
    private String costCenter2;
    /**
     * 成本中心3
     */
    @TableField("cost_center3")
    private String costCenter3;
    /**
     * 座位类型
     * 商务座、特等座、一等座、二等座、高级软卧、软卧、动卧、硬卧、软座、硬座、无座、其他
     */
    @TableField("seat_type")
    private String seatType;

    /**
     * 车厢
     */
    @TableField("train_box")
    private String trainBox;

    /**
     * 座位号
     */
    @TableField("seat_no")
    private String seatNo;

    @TableField("tkt_price")
    private BigDecimal tktPrice;

    @TableField("psg_status")
    private String psgStatus;

    @TableField("refund_amount")
    private BigDecimal refundAmount;

    @TableField("tp_price")
    private BigDecimal tpPrice;

    @TableField("counter_fee")
    private BigDecimal counterFee;

    @TableField("carrier_change_fee")
    private BigDecimal carrierChangeFee;

    @TableField("is_rule_over")
    private String isRuleOver;

    @TableField("no_travel_rules")
    private String noTravelRules;

    @TableField("is_allow_refund")
    private String isAllowRefund;

    @TableField("psg_no")
    private String psgNo;

    @TableField("is_cus_psg")
    private String isCusPsg;

    @TableField("person_mobile")
    private String personMobile;

    /**
     * 人员唯一id
     */
    @TableField("user_id")
    private String userId;

    /**
     * 乘车人职级
     */
    @TableField("psg_position")
    private String psgPosition;

    /**
     * 保险费
     */
    @TableField("sum_ins_money")
    private BigDecimal sumInsMoney;

    /**
     * 送票费/快递费
     */
    @TableField("send_ticket_fee")
    private BigDecimal sendTicketFee;

    /**
     * 部门1
     */
    @TableField("department1")
    private String department1;

    /**
     * 部门2
     */
    @TableField("department2")
    private String department2;

    /**
     * 部门3
     */
    @TableField("department3")
    private String department3;

    /**
     * 车票类型
     */
    @TableField("tickets_type")
    private String ticketsType;

    private Date ts;



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPsgName() {
        return psgName;
    }

    public void setPsgName(String psgName) {
        this.psgName = psgName;
    }

    public String getOAUserCode() {
        return OAUserCode;
    }

    public void setOAUserCode(String OAUserCode) {
        this.OAUserCode = OAUserCode;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getTicketType() {
        return ticketType;
    }

    public void setTicketType(Integer ticketType) {
        this.ticketType = ticketType;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getCostCenter() {
        return costCenter;
    }

    public void setCostCenter(String costCenter) {
        this.costCenter = costCenter;
    }

    public String getSeatType() {
        return seatType;
    }

    public void setSeatType(String seatType) {
        this.seatType = seatType;
    }

    public String getTrainBox() {
        return trainBox;
    }

    public void setTrainBox(String trainBox) {
        this.trainBox = trainBox;
    }

    public String getSeatNo() {
        return seatNo;
    }

    public void setSeatNo(String seatNo) {
        this.seatNo = seatNo;
    }

    public BigDecimal getTktPrice() {
        return tktPrice;
    }

    public void setTktPrice(BigDecimal tktPrice) {
        this.tktPrice = tktPrice;
    }

    public String getPsgStatus() {
        return psgStatus;
    }

    public void setPsgStatus(String psgStatus) {
        this.psgStatus = psgStatus;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public BigDecimal getTpPrice() {
        return tpPrice;
    }

    public void setTpPrice(BigDecimal tpPrice) {
        this.tpPrice = tpPrice;
    }

    public BigDecimal getCounterFee() {
        return counterFee;
    }

    public void setCounterFee(BigDecimal counterFee) {
        this.counterFee = counterFee;
    }

    public BigDecimal getCarrierChangeFee() {
        return carrierChangeFee;
    }

    public void setCarrierChangeFee(BigDecimal carrierChangeFee) {
        this.carrierChangeFee = carrierChangeFee;
    }

    public String getIsRuleOver() {
        return isRuleOver;
    }

    public void setIsRuleOver(String isRuleOver) {
        this.isRuleOver = isRuleOver;
    }

    public String getNoTravelRules() {
        return noTravelRules;
    }

    public void setNoTravelRules(String noTravelRules) {
        this.noTravelRules = noTravelRules;
    }

    public String getIsAllowRefund() {
        return isAllowRefund;
    }

    public void setIsAllowRefund(String isAllowRefund) {
        this.isAllowRefund = isAllowRefund;
    }

    public String getPsgNo() {
        return psgNo;
    }

    public void setPsgNo(String psgNo) {
        this.psgNo = psgNo;
    }

    public String getIsCusPsg() {
        return isCusPsg;
    }

    public void setIsCusPsg(String isCusPsg) {
        this.isCusPsg = isCusPsg;
    }

    public String getPersonMobile() {
        return personMobile;
    }

    public void setPersonMobile(String personMobile) {
        this.personMobile = personMobile;
    }

    public String getCostCenter2() {
        return costCenter2;
    }

    public void setCostCenter2(String costCenter2) {
        this.costCenter2 = costCenter2;
    }

    public String getCostCenter3() {
        return costCenter3;
    }

    public void setCostCenter3(String costCenter3) {
        this.costCenter3 = costCenter3;
    }

    public String getPsgPosition() {
        return psgPosition;
    }

    public void setPsgPosition(String psgPosition) {
        this.psgPosition = psgPosition;
    }

    public BigDecimal getSumInsMoney() {
        return sumInsMoney;
    }

    public void setSumInsMoney(BigDecimal sumInsMoney) {
        this.sumInsMoney = sumInsMoney;
    }

    public BigDecimal getSendTicketFee() {
        return sendTicketFee;
    }

    public void setSendTicketFee(BigDecimal sendTicketFee) {
        this.sendTicketFee = sendTicketFee;
    }

    public String getDepartment1() {
        return department1;
    }

    public void setDepartment1(String department1) {
        this.department1 = department1;
    }

    public String getDepartment2() {
        return department2;
    }

    public void setDepartment2(String department2) {
        this.department2 = department2;
    }

    public String getDepartment3() {
        return department3;
    }

    public void setDepartment3(String department3) {
        this.department3 = department3;
    }

    public String getTicketsType() {
        return ticketsType;
    }

    public void setTicketsType(String ticketsType) {
        this.ticketsType = ticketsType;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BriTrainPassenger{" +
                "id=" + id +
                ", orderNo=" + orderNo +
                ", psgName='" + psgName +
                ", OAUserCode=" + OAUserCode +
                ", ticketType=" + ticketType +
                ", cardType=" + cardType +
                ", cardNo=" + cardNo +
                ", costCenter=" + costCenter +
                ", costCenter2=" + costCenter2 +
                ", costCenter3=" + costCenter3 +
                ", seatType=" + seatType +
                ", trainBox=" + trainBox +
                ", seatNo=" + seatNo +
                ", tktPrice=" + tktPrice +
                ", psgStatus=" + psgStatus +
                ", refundAmount=" + refundAmount +
                ", tpPrice=" + tpPrice +
                ", counterFee=" + counterFee +
                ", carrierChangeFee=" + carrierChangeFee +
                ", isRuleOver=" + isRuleOver +
                ", noTravelRules=" + noTravelRules +
                ", isAllowRefund=" + isAllowRefund +
                ", psgNo=" + psgNo +
                ", isCusPsg=" + isCusPsg +
                ", personMobile=" + personMobile +
                ", userId=" + userId +
                ", psgPosition=" + psgPosition +
                ", sumInsMoney=" + sumInsMoney +
                ", sendTicketFee=" + sendTicketFee +
                ", department1=" + department1 +
                ", department2=" + department2 +
                ", department3=" + department3 +
                ", ticketsType=" + ticketsType +
                ", ts=" + ts +
                '}';
    }
}
